package com.eff.android.api.model;

public class Type {
	
	public static enum TypeType {
		Word, Phrase;
	}
	
	private TypeType typeType;
    
	public Type() {
		typeType = TypeType.Word;
	}
	
	public Type(TypeType type) {
		typeType = type;
	}
	    
	private static Type instance = null;
	
	public static Type getInstance() {
		if (instance == null)
			instance = new Type();
		return instance;
	}
	
	public void setType(Type type) {
		instance = type;
	}
	
	public TypeType getType() {
		return typeType;
	}
	
	public void setType(TypeType type) {
		typeType = type;
	}
}
